/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.model;

import com.exception.DataException;
import com.javabeans.Pensum;
import java.util.List;
/**
 * @author Administrador
 */
public interface PensumManager {
    public int getIdPensum() throws DataException;
    public void savePensum(Pensum p) throws DataException;
    public Pensum getPensumVigente(int idCarrera) throws DataException;
    public Pensum getPensumVigenteBasic(int idCarrera) throws DataException;
    public List<Pensum> getPensumsInactivos(int idCarrera) throws DataException;
    public void updatePensum(Pensum p) throws DataException;
    public void darBajaPensum(int idPensum) throws DataException;
    public int getIdPensumVigente(int idCarrera, int idMateria) throws DataException;
}
